/**
 * 
 */
package org.sensmon.core.datamodel.filters;

import org.sensmon.gui.SensorGUICallback;
import org.sensmon.gui.SensorGUICallbackImpl;
import org.sensmon.gui.SensorPane;

/**
 * @author LAP
 *
 */
public class PrintPaneFilter extends RunnableFilter<Double> {

	private SensorGUICallback callback;
	
	public PrintPaneFilter(SensorPane pane) {
		callback = new SensorGUICallbackImpl(pane);
	}
	
	@Override
	protected Double doFilter(Double data) {
		callback.setText(String.valueOf(data));
		return data;
	}

}
